package com.vn.ld.api.order.dto;

import java.math.BigDecimal;
import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.vn.ld.api.user.dto.CustomerDTO;
import com.vn.ld.api.user.dto.CustomerServiceDTO;

@XmlRootElement(name = "Order")
@XmlAccessorType(XmlAccessType.FIELD)
public class OrderDTO {
	@XmlElement(name = "Id")
	private String orderId;
	@XmlElement(name = "AssetType")
	private Integer assetType;
	@XmlElement(name = "InputDate")
	private Date inputDate;
	@XmlElement(name = "OriginalVolume")
	private BigDecimal originalVolume;
	@XmlElement(name = "RemainVolume")
	private BigDecimal remainVolume;
	@XmlElement(name = "Status")
	private Integer status;
	@XmlElement(name = "Type")
	private Integer type;
	@XmlElement(name = "UnitPrice")
	private BigDecimal unitPrice;
	@XmlElement(name = "UpdateDate")
	private Date updateDate;
	@XmlElement(name = "Customer")
	private CustomerDTO customer;
	@XmlElement(name = "CustomerService")
	private CustomerServiceDTO customerService;

	public OrderDTO() {
	}

	public String getOrderId() {
		return this.orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Integer getAssetType() {
		return this.assetType;
	}

	public void setAssetType(Integer assetType) {
		this.assetType = assetType;
	}

	public Date getInputDate() {
		return this.inputDate;
	}

	public void setInputDate(Date inputDate) {
		this.inputDate = inputDate;
	}

	public BigDecimal getOriginalVolume() {
		return this.originalVolume;
	}

	public void setOriginalVolume(BigDecimal originalVolume) {
		this.originalVolume = originalVolume;
	}

	public BigDecimal getRemainVolume() {
		return this.remainVolume;
	}

	public void setRemainVolume(BigDecimal remainVolume) {
		this.remainVolume = remainVolume;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public BigDecimal getUnitPrice() {
		return this.unitPrice;
	}

	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Date getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public CustomerDTO getCustomer() {
		return this.customer;
	}

	public void setCustomer(CustomerDTO customer) {
		this.customer = customer;
	}

	public CustomerServiceDTO getCustomerService() {
		return this.customerService;
	}

	public void setCustomerService(CustomerServiceDTO customerService) {
		this.customerService = customerService;
	}
}
